package oop多态作业;

public class Printer {
    public  String  name;
    public  double pirce;

    public Printer(String name, double pirce) {

        this.name = name;
        this.pirce = pirce;
    }

    public Printer() {
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPirce() {
        return pirce;
    }

    public void setPirce(double pirce) {
        this.pirce = pirce;
    }
    public  void  print(){

    }
}
